package org.summerframework.component.security.spring;

import org.summerframework.component.security.core.interceptor.SecurityInterceptor;
import org.springframework.security.core.GrantedAuthority;

import java.util.List;

/**
 * @author 石超
 * @version v1.0.0
 */
public interface SecurityRoleService {
    String ROLE_ADMIN = "ROLE_" + SecurityInterceptor.ADMIN;

    List<GrantedAuthority> getRole(Long userId);
}
